/**
 * @program: jef-flow-spring-boot-starter
 * @description:
 * @author: Cheng Zhi
 * @create: 2023-02-07 22:41
 **/
public abstract class ParentT implements TInterface{

    private String name;
    private int age;

    ParentT(String name, int age) {
        this.name = name;
        this.age = age;
        printClassName(this.getClass());
    }

    public void printClassName(Class nodeClass) {
        String testName = getName();
        System.out.println(testName);
        String name = nodeClass.getName();
        System.out.println(name);
    }
}
